package com.gxa.stu.stu;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 当前web工程依赖使用实体类pojo,pojo是存在mybatis plus的注解
 * 会导致当前工程提示:
 * Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
 * 利用排除方法,启动时不执行数据源的自动扫描
 *
 */

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class StuWebApp {

    public static void main(String[] args) {
        SpringApplication.run(StuWebApp.class);
    }
}
